package com.tencentcloudapi.wemeet.client;

import com.google.gson.reflect.TypeToken;
import com.tencentcloudapi.wemeet.common.RequestSender;
import com.tencentcloudapi.wemeet.common.exception.WemeetSdkException;
import com.tencentcloudapi.wemeet.models.jsapi.QueryUseridByACRequest;
import com.tencentcloudapi.wemeet.models.jsapi.QueryUseridByACResponse;
import com.tencentcloudapi.wemeet.models.meeting.QueryMeetingDetailResponse;

public class JsapiClient {
    private final RequestSender sender;

    public JsapiClient(RequestSender sender) {
        this.sender = sender;
    }
    //获取userid
    public QueryUseridByACResponse getUserId(QueryUseridByACRequest request) throws WemeetSdkException{
        return sender.request(request, new TypeToken<QueryUseridByACResponse>() {
        });
    }


}
